package events;

import java.util.EventObject;

public class ActivityEvent extends EventObject  {

    final String ADD_ACTIVITY_EVENT = "ADD_ACTIVITY_EVENT";
    final String UPDATE_ACTIVITY_EVENT = "UPDATE_ACTIVITY_EVENT";
    final String DELETE_ACTIVITY_EVENT = "DELETE_ACTIVITY_EVENT";
    final String START_ACTIVITY_EVENT = "ADD_ACTIVITY_EVENT";
    final String STOP_ACTIVITY_EVENT = "STOP_ACTIVITY_EVENT";
    final String PAUSE_ACTIVITY_EVENT = "PAUSE_ACTIVITY_EVENT";
    final String RESTART_ACTIVITY_EVENT = "RESTART_ACTIVITY_EVENT";
    final String CONTINUE_ACTIVITY_EVENT = "CONTINUE_ACTIVITY_EVENT";
    private Object data;

    public ActivityEvent(Object source, Object d) {
        super(source);
        data = d;
    }
    public Object getData(){
        return data;
    }
    
}
